package com.itheima.service;

import com.itheima.pojo.Book;

import java.io.Serializable;
import java.util.List;

/**
 * @Author CandyWall
 * @Date 2022/1/24--0:59
 * @Description
 */
public interface IBookService {
    Book getById(Serializable id);

    boolean save(Book book);

    boolean saveBatch(List<Book> list);

    List<Book> list();
}
